<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>使用 Hexo 快速免费搭建个人网站 | 咕咕鸽</title><meta name="keywords" content="hexo"><meta name="author" content="Guguge"><meta name="copyright" content="Guguge"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="前言本文档教你如何快速使用hexo + Github Pages &#x2F; Gitee Pages 免费搭建一个个人网站。  首先你需要准备一台 Win7 或者 Win10 系统的电脑。并成功注册 Github 或者 Gitee 的账号(任意一个就行。或者两个都用)。 Github官网: https:&#x2F;&#x2F;github.com&#x2F;Gitee官网: https:&#x2F;&#x2F;gitee.com&#x2F; 注册好账号后就可以进行">
<meta property="og:type" content="article">
<meta property="og:title" content="使用 Hexo 快速免费搭建个人网站">
<meta property="og:url" content="https://guguge.top/blog/hexoblogsetup/index.html">
<meta property="og:site_name" content="咕咕鸽">
<meta property="og:description" content="前言本文档教你如何快速使用hexo + Github Pages &#x2F; Gitee Pages 免费搭建一个个人网站。  首先你需要准备一台 Win7 或者 Win10 系统的电脑。并成功注册 Github 或者 Gitee 的账号(任意一个就行。或者两个都用)。 Github官网: https:&#x2F;&#x2F;github.com&#x2F;Gitee官网: https:&#x2F;&#x2F;gitee.com&#x2F; 注册好账号后就可以进行">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://guguge.top/blog/hexoblogsetup/cover.jpg">
<meta property="article:published_time" content="2020-09-10T12:18:30.000Z">
<meta property="article:modified_time" content="2021-09-21T14:38:42.555Z">
<meta property="article:author" content="Guguge">
<meta property="article:tag" content="hexo">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://guguge.top/blog/hexoblogsetup/cover.jpg"><link rel="shortcut icon" href="/media/favicon.png"><link rel="canonical" href="https://guguge.top/blog/hexoblogsetup/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="/pluginsSrc/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="/pluginsSrc/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><script>(adsbygoogle = window.adsbygoogle || []).push({
  google_ad_client: 'ca-pub-6926818855435149',
  enable_page_level_ads: 'true'
});</script><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":false,"languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: '/pluginsSrc/flickr-justified-gallery/dist/fjGallery.min.js',
      css: '/pluginsSrc/flickr-justified-gallery/dist/fjGallery.css'
    }
  },
  isPhotoFigcaption: true,
  islazyload: true,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '使用 Hexo 快速免费搭建个人网站',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2021-09-21 22:38:42'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 5.4.2"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="/media/avatar.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">4</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">4</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">1</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 目录</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 图库</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 传送门</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background: linear-gradient(45deg, #8EC5FC 0%, #E0C3FC 16%)"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">咕咕鸽</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 目录</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 图库</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 传送门</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">使用 Hexo 快速免费搭建个人网站</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2020-09-10T12:18:30.000Z" title="发表于 2020-09-10 20:18:30">2020-09-10</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-09-21T14:38:42.555Z" title="更新于 2021-09-21 22:38:42">2021-09-21</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/Web/">Web</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">2.6k</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>8分钟</span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h1 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h1><div class="note info modern"><p>本文档教你如何快速使用hexo + Github Pages / Gitee Pages 免费搭建一个个人网站。</p>
</div>
<p>首先你需要准备一台 Win7 或者 Win10 系统的电脑。<br>并成功注册 <code>Github</code> 或者 <code>Gitee</code> 的账号(任意一个就行。或者两个都用)。</p>
<p>Github官网: <a target="_blank" rel="noopener" href="https://github.com/">https://github.com/</a><br>Gitee官网: <a target="_blank" rel="noopener" href="https://gitee.com/">https://gitee.com/</a></p>
<div class="note success modern"><p>注册好账号后就可以进行下一步骤了。</p>
</div>
<hr>
<h1 id="软件下载"><a href="#软件下载" class="headerlink" title="软件下载"></a>软件下载</h1><div class="note info modern"><p>Hexo必备运行环境软件包下载:</p>
</div>
<div class="note success modern"><p>两种格式任选一种格式下载就行了。<br>如果没安装解压缩软件或者不会解压，可以下载自解压程序。</p>
</div>
<p> <strong>坚 果 云：</strong>  </p>
 <a class="btn-beautify " target="_blank" rel="noopener" href="https://www.jianguoyun.com/p/DRN3r7wQkqvIBhjv0Y0E" 
  title="下载自解压程序"><i class="fas fa-download"></i><span>下载自解压程序</span></a> <a class="btn-beautify " target="_blank" rel="noopener" href="https://www.jianguoyun.com/p/DbkxYmkQkqvIBhjn0Y0E" 
  title="下载Zip压缩包"><i class="fas fa-download"></i><span>下载Zip压缩包</span></a>
<p><strong>腾讯微云：</strong> </p>
<a class="btn-beautify " target="_blank" rel="noopener" href="https://share.weiyun.com/eOKKMgOm" 
  title="下载自解压程序"><i class="fas fa-download"></i><span>下载自解压程序</span></a> <a class="btn-beautify " target="_blank" rel="noopener" href="https://share.weiyun.com/IosEdwHZ" 
  title="下载Zip压缩包"><i class="fas fa-download"></i><span>下载Zip压缩包</span></a> 
<p><strong>Google Drive:</strong></p>
<a class="btn-beautify " target="_blank" rel="noopener" href="https://drive.google.com/file/d/1tenFKlVNQsvnhqNMXipgeZFSqJh4y4cL/view?usp=sharing" 
  title="下载自解压程序"><i class="fas fa-download"></i><span>下载自解压程序</span></a> <a class="btn-beautify " target="_blank" rel="noopener" href="https://drive.google.com/file/d/15J5hi9hFnKslk3YiZEMAjP0hL_MO-BUE/view?usp=sharing" 
  title="下载Zip压缩包"><i class="fas fa-download"></i><span>下载Zip压缩包</span></a> 
<div class="note warning modern"><p>温馨提示：<code>坚果云</code> 下载<code>.EXE</code>格式可执行文件时会自动加上.dat后缀，下载后去掉.dat后缀即可正常使用。</p>
</div>
<hr>
<div class="note info modern"><p>网站源码模板(Hexo-butterfly-demo)：</p>
</div>
<div class="note success modern"><p>源码下载方法可以查看本文档的<code>下载源码</code>部分内容</p>
</div>
<p><strong>Gitee</strong>:<br><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">https://gitee.com/guguge/Hexo-butterfly-demo.git</span><br></pre></td></tr></table></figure></p>
<p><strong>Github</strong>: </p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">https://github.com/guguliu/Hexo-butterfly-demo.git</span><br></pre></td></tr></table></figure>
<hr>
<h1 id="软件安装"><a href="#软件安装" class="headerlink" title="软件安装"></a>软件安装</h1><div class="note info modern"><p>软件下载下来并解压后会出现下面几个文件：</p>
</div>
<div class="note success modern"><p>文件名称前面都标注有序号，按顺序逐个安装就行。</p>
</div>
<p><img src= "" data-lazy-src="01.jpg" alt="已解压文件"></p>
<h2 id="Git-安装"><a href="#Git-安装" class="headerlink" title="Git 安装"></a>Git 安装</h2><div class="note success modern"><p>打开 <code>1.Git-2.33.0.2-64-bit.exe</code> 后一直按<code>Next</code>,直至完成安装。</p>
</div>
<div class="note warning modern"><p>温馨提示：建议不要修改安装路径，否则会导致后面的批处理脚本出现问题。</p>
</div>
<p><img src= "" data-lazy-src="02.jpg" alt="1.一直按 Next 直到安装完成"></p>
<p><img src= "" data-lazy-src="03.jpg" alt="2.git安装完成"></p>
<h2 id="Node-js-安装"><a href="#Node-js-安装" class="headerlink" title="Node.js 安装"></a>Node.js 安装</h2><div class="note success modern"><p>打开 <code>2.node-v13.14.0-x64.msi</code> 勾选 <code>I accept</code> 后一直按 <code>Next</code> 直到安装完成.</p>
</div>
<div class="note warning modern"><p>温馨提示：建议不要修改安装路径，否则会导致后面的批处理脚本出现问题。</p>
</div>
<p><img src= "" data-lazy-src="04.jpg" alt="1.勾选 I accept 后一直按 Next 直到安装完成"><br><img src= "" data-lazy-src="05.jpg" alt="2.Node.js 安装完成"></p>
<h2 id="VSVode-安装"><a href="#VSVode-安装" class="headerlink" title="VSVode 安装"></a>VSVode 安装</h2><div class="note success modern"><p>打开 <code>3.VSCodeUserSetup-x64-1.59.1.exe</code> 根据提示完成安装。安装目录随意。<br>附加任务部分全部勾选。</p>
</div>
<p><img src= "" data-lazy-src="06.jpg" alt="1.附加任务全部勾选"><br><img src= "" data-lazy-src="07.jpg" alt="2.完成安装并运行软件一次"></p>
<div class="note info modern"><p>安装完打开发现软件是英文的，可以安装语言包。</p>
</div>
<p><img src= "" data-lazy-src="08.jpg" alt="安装语言包提示框"></p>
<div class="note success modern"><p>软件界面右下角会弹出提示框询问是否安装语言包，如果没有弹出，则需要手动安装。<br>点击左侧的应用图标，在弹出的搜索框内输入<code>chinese</code>，第一个就是语言包，点击<code>install</code>按钮安装就行。</p>
</div>
<p><img src= "" data-lazy-src="09.jpg" alt="1.手动安装安装语言包"><br><img src= "" data-lazy-src="10.jpg" alt="2.语言包安装完成，重启软件"></p>
<div class="note success modern"><p>安装完语言包会提示重新启动软件，软件重启后就变成中文咯。</p>
</div>
<h2 id="Hexo-cli-安装"><a href="#Hexo-cli-安装" class="headerlink" title="Hexo-cli 安装"></a>Hexo-cli 安装</h2><div class="note success modern"><p>打开<code>4.安装hexo-cli.bat</code>文件，等待安装完成就行。</p>
</div>
<div class="note info modern"><p><code>Hexo-cli</code>有三种安装方式:</p>
</div>
<ul>
<li><code>npm</code>  : 官方源，如果是在中国大陆访问速度可能有点慢。</li>
<li><code>cnpm</code> : 淘宝的npm镜像源，中国大陆访问速度最快。</li>
<li><code>yarn</code> : 比 npm 速度快。</li>
</ul>
<div class="note success modern"><p>怎么知道有没有成功安装呢？<br>只需要再打开一次<code>4.安装hexo-cli.bat</code>文件。如果输出<code>Hexo的版本信息</code>则表示安装成功了。</p>
</div>
<p><img src= "" data-lazy-src="11.jpg" alt="Hexo-cli安装成功"></p>
<hr>
<h1 id="配置Git用户和ssh密钥"><a href="#配置Git用户和ssh密钥" class="headerlink" title="配置Git用户和ssh密钥"></a>配置Git用户和ssh密钥</h1><div class="note info modern"><p>ssh密钥 用于Git上传文件一种身份验证凭证，配置后上传文件不用输入密码。</p>
</div>
<div class="note success modern"><p>打开<code>5.设置git用户名和生成密钥.bat</code>文件，并输入你的用户名和邮箱，内容随意。<br>然后就会弹出一个窗口，什么都不用填，输入三次 <code>回车键</code>即可。</p>
</div>
<p><img src= "" data-lazy-src="12.jpg" alt="1.生成密钥窗口，直接输入三次回车键，直至窗口自动关闭"></p>
<p><img src= "" data-lazy-src="13.jpg" alt="2.再按一次回车，密钥内容就会 导出.txt文件"></p>
<div class="note success modern"><p>脚本执行完成后，就会发现目录下多了一个<code>已生成ssh密钥.txt</code>文件。<br>直接<code>全选</code>并<code>复制</code>文件里面的内容，用于设置<code>Gitee</code>和<code>Github</code>的ssh私钥</p>
</div>
<h2 id="GitHub-配置ssh公钥"><a href="#GitHub-配置ssh公钥" class="headerlink" title="GitHub 配置ssh公钥"></a>GitHub 配置ssh公钥</h2><div class="note success modern"><p>打开<a target="_blank" rel="noopener" href="https://github.com">Github官网</a>，并登录账号。点击网站右上角你的头像，然后选择<code>Settings</code>。</p>
</div>
<p><img src= "" data-lazy-src="14.jpg" alt="1.打开Settings"></p>
<div class="note success modern"><p>左侧菜单找到并点击<code>SSH and GPG Keys</code>。右侧内容点击 <code>New SSH Key</code>。</p>
</div>
<p><img src= "" data-lazy-src="15.jpg" alt="2.新建SSH Key"></p>
<div class="note success modern"><p>把之前在<code>已生成ssh密钥.txt</code>文件里面复制的内容粘贴进去。并点击<code>Add SSH Key</code>。<br>可能会弹出窗口要求输入Github密码进行身份验证。</p>
</div>
<p><img src= "" data-lazy-src="16.jpg" alt="2.粘贴密钥内容并保存"></p>
<h2 id="Gitee-配置ssh公钥"><a href="#Gitee-配置ssh公钥" class="headerlink" title="Gitee 配置ssh公钥"></a>Gitee 配置ssh公钥</h2><div class="note success modern"><p>打开<a target="_blank" rel="noopener" href="https://gitee.com">Gitee官网</a>，并登录账号。点击网站右上角你的头像，然后选择<code>设置</code>。</p>
</div>
<p><img src= "" data-lazy-src="17.jpg" alt="1.打开设置"></p>
<div class="note success modern"><p>左侧菜单找到并点击<code>SSH 公钥</code>。在右侧把之前在<code>已生成ssh密钥.txt</code>文件里面复制的内容粘贴进去。并点击<code>确定</code>。<br>可能会弹出窗口要求输入Gitee密码进行身份验证。</p>
</div>
<p><img src= "" data-lazy-src="18.jpg" alt="2.粘贴密钥内容并保存"></p>
<hr>
<h1 id="下载源码"><a href="#下载源码" class="headerlink" title="下载源码"></a>下载源码</h1><div class="note info modern"><p>建议将源码导入到自己的Github或者Gitee账号上。方便跨平台管理，可以在不同设备进行配置。<br>如果你只有一台电脑，也不在其他设备上同步编辑。可以直接下载源码。</p>
</div>
<div class="note success modern"><p>网站源码模板(Hexo-butterfly-demo)：</p>
</div>
<p><strong>Gitee</strong>:</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">https://gitee.com/guguge/Hexo-butterfly-demo.git</span><br></pre></td></tr></table></figure>
<p><strong>Github</strong>: </p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">https://github.com/guguliu/Hexo-butterfly-demo.git</span><br></pre></td></tr></table></figure>
<h2 id="直接下载"><a href="#直接下载" class="headerlink" title="直接下载"></a>直接下载</h2><div class="note success modern"><p>打开<code>6.下载源码.bat</code>文件，然后把上面任意一个链接，在窗口内按<code>鼠标右键</code>直接粘贴进去，直接回车就能下载。</p>
</div>
<p><img src= "" data-lazy-src="19.jpg" alt="直接下载源码"></p>
<hr>
<h1 id="快速开始"><a href="#快速开始" class="headerlink" title="快速开始"></a>快速开始</h1><div class="note info modern"><p>下载完成后会发现目录下多了个文件夹，进入目录。<br>先打开<code>启动脚本.bat</code>，输入<code>1</code>并<code>回车</code>，执行 <code>安装必备插件</code>命令。</p>
</div>
<div class="note success modern"><p>可以选择 <code>npm</code> 、 <code>cnpm</code>、 <code>yarn</code> 三种模式任意一种进行安装。<br>输入对应数字回车就行【下载慢建议选择<code>cnpm</code> 或 <code>yarn</code>】</p>
</div>
<h2 id="网站内容修改"><a href="#网站内容修改" class="headerlink" title="网站内容修改"></a>网站内容修改</h2><div class="note info modern"><p>网站的配置主要包含在<code>_config.butterfly.yml</code>和<code>_config.yml</code>这两个文件内。<br>修改也很简单，直接修改每个选项冒号<code>:</code>后面的内容就行。</p>
</div>
<p><strong>参考资料：</strong><br> <a class="btn-beautify " href="/blog/butterfly/" 
  title="hexo-butterfly常用配置文档"><span>hexo-butterfly常用配置文档</span></a> <a class="btn-beautify " target="_blank" rel="noopener" href="https://butterfly.js.org" 
  title="butterfly官方配置文档"><span>butterfly官方配置文档</span></a></p>
<div class="note warning modern"><p><mark class="hl-label red">注意格式!!!</mark> 每个选项的冒号<code>:</code>与内容之间都有一个空格隔开。<br>如果是多行元素，注意缩进与上一行对齐。请勿破坏排列格式。<br>改之前建议备份以下文件。报错了方便换回来。<code>backups</code>目录下有备份的初始文件。<br>修改内容过多建议执行一下 <code>4.清理缓存</code> 功能。</p>
</div>
<div class="note success modern"><p>改完直接运行<code>启动脚本.bat</code> 中的 <code>本地测试</code>功能，就能进行预览。</p>
</div>
<div class="note warning modern"><p>配置文件再次修改完要重新启动<code>本地测试</code>功能。页面才会更新。</p>
</div>
<h2 id="新建文章和页面内容"><a href="#新建文章和页面内容" class="headerlink" title="新建文章和页面内容"></a>新建文章和页面内容</h2><div class="note info modern"><p>打开<code>创建文章或页面.bat</code>，输入对应数字就可以选择<code>创建文章页面</code>或者<code>创建独立页面</code>。文件名可以随意输入。</p>
</div>
<p><strong>文件生成位置：</strong><br><code>文章页</code>：位于 <code>source</code> \ <code>_posts</code> 目录内。包含一个<code>.md</code>文件和一个<code>同名的文件夹</code>，文件夹内放图片和资源文件。<br><code>独立页面</code>：位于 <code>source</code>目录内生成一个单独的文件夹,文件夹内包含一个<code>index.md</code>。</p>
<div class="note info modern"><p>打开生成的<code>.md</code>文件，会发现最上方以 <code>---</code> 分隔的区域有很多参数。那些是<code>Front-matter</code>,可以自定义页面的各种属性。</p>
</div>
<p><strong>Front-matter参数说明可查阅：</strong><br> <a class="btn-beautify " href="/blog/butterfly/" 
  title="hexo-butterfly常用配置文档"><span>hexo-butterfly常用配置文档</span></a></p>
<div class="note success modern"><p><code>---</code> 分隔的区域外，即后面空白处。就是文章编写区域。<br>文章格式采用的是Markdown格式编写，仅使用简单的符号和文字即可生成特定格式。简单易上手。</p>
</div>
<p><strong>Markdown格式参考：</strong><br> <a class="btn-beautify " href="/blog/markdown/" 
  title="markdown基础教程"><span>markdown基础教程</span></a></p>
<div class="note success modern"><p>可以边运行<code>启动脚本.bat</code> 中的 <code>本地测试</code>功能边写文章，hexo支持实时预览文章页面内容。编写的时候保存文件并刷新浏览器页面就能看到新内容。</p>
</div>
<hr>
<h1 id="上传网站"><a href="#上传网站" class="headerlink" title="上传网站"></a>上传网站</h1><div class="note info modern"><p>需要把网站上传上去才能被所有人访问到。</p>
</div>
<h2 id="上传到Gitee"><a href="#上传到Gitee" class="headerlink" title="上传到Gitee"></a>上传到Gitee</h2><blockquote>
<p>打开Gitee官网并登录，点击右下角头像旁边的加号。选择新建仓库。</p>
</blockquote>
<p><img src= "" data-lazy-src="20.jpg" alt="新建仓库"></p>
<blockquote>
<p>如果作为网站使用，仓库名称需要和你的用户名一样，例如：</p>
</blockquote>
<p><img src= "" data-lazy-src="21.jpg" alt="仓库用户名要求"></p>
<blockquote>
<p>Gitee Pages没有限制，开源和私有都能使用。点击创建按钮完成创建</p>
</blockquote>
<p><img src= "" data-lazy-src="22.jpg" alt="完成创建"></p>
<blockquote>
<p>创建成功后就会跳转到仓库页面，点击SSH按钮获取地址并复制。</p>
</blockquote>
<p><img src= "" data-lazy-src="23.jpg" alt="复制SSH地址"></p>
<blockquote>
<p>回到网站源码下载目录，打开并编辑<code>_config.yml</code>文件。<br>找到 <code>url：</code> 把 <code>https://</code> 后面的内容改成： <code>你的gitee用户名.gitee.io</code>，例如：</p>
</blockquote>
<p><img src= "" data-lazy-src="24.jpg" alt="修改url"></p>
<blockquote>
<p>再找到 <code>repo:</code> 把刚才复制的SSH地址粘贴进去，例如:</p>
</blockquote>
<p><img src= "" data-lazy-src="25.jpg" alt="修改repo"></p>
<blockquote>
<p>回到网站源码下载目录，运行<code>启动脚本.bat</code>,输入<code>3</code> 并回车，就会开始上传网站内容了。<br>第一次上传会让你记住主机，输入<code>yes</code>继续。</p>
</blockquote>
<p><img src= "" data-lazy-src="26.jpg" alt="上传成功"></p>
<blockquote>
<p>上传成功后返回刚才创建的仓库页面，刷新后，多了很多文件则表示上传成功。<br>接着点击<code>服务</code>,选择<code>gitee pages</code></p>
</blockquote>
<p><img src= "" data-lazy-src="27.jpg" alt="仓库页面"><br><img src= "" data-lazy-src="28.jpg" alt="选择gitee pages"></p>
<blockquote>
<p>如果未实名认证则要根据要求上传身份信息进行实名认证。</p>
</blockquote>
<p><img src= "" data-lazy-src="29.jpg" alt="实名认证"></p>
<blockquote>
<p>实名认证通过后就可以启用Gitee Pages 服务了。<br>勾选<code>强制Https</code>,再点击<code>启用</code>。</p>
</blockquote>
<p><img src= "" data-lazy-src="30.jpg" alt="启用gitee pages"></p>
<blockquote>
<p>稍等片刻后就会出现一个网址，可以通过这个网址访问你的网站了！</p>
</blockquote>
<div class="note warning modern"><p>注意：gitee pages 是不支持自动更新的，如果你后续上传了新的内容，都要到设置页面点击<code>更新</code>按钮，更新页面。</p>
</div>
<p><img src= "" data-lazy-src="31.jpg" alt="后续更新"></p>
<h2 id="上传到Github"><a href="#上传到Github" class="headerlink" title="上传到Github"></a>上传到Github</h2><blockquote>
<p>打开Github官网并登录，点击右下角头像旁边的加号。选择<code>New Repository</code>仓库。</p>
</blockquote>
<p><img src= "" data-lazy-src="32.jpg" alt="新建仓库"></p>
<blockquote>
<p>如果作为网站使用，仓库名称格式必须为： <code>你的Github用户名.github.io</code></p>
</blockquote>
<p><img src= "" data-lazy-src="33.jpg" alt="仓库用户名要求"></p>
<blockquote>
<p>选择<code>Public</code>。再点击<code>Create Repository</code> 按钮完成创建</p>
</blockquote>
<p><img src= "" data-lazy-src="34.jpg" alt="完成创建"></p>
<blockquote>
<p>创建成功后就会跳转到仓库页面，点击SSH按钮获取地址并复制。</p>
</blockquote>
<p><img src= "" data-lazy-src="35.jpg" alt="复制SSH地址"></p>
<blockquote>
<p>回到网站源码下载目录，打开并编辑<code>_config.yml</code>文件。<br>找到 <code>url：</code> 把 <code>https://</code> 后面的内容改成： <code>你的GitHub用户名.gitee.io</code>，例如：</p>
</blockquote>
<p><img src= "" data-lazy-src="36.jpg" alt="修改url"></p>
<blockquote>
<p>再找到 <code>repo:</code> 把刚才复制的SSH地址粘贴进去，例如:</p>
</blockquote>
<p><img src= "" data-lazy-src="37.jpg" alt="修改repo"></p>
<blockquote>
<p>回到网站源码下载目录，运行<code>启动脚本.bat</code>,输入<code>3</code> 并回车，就会开始上传网站内容了。<br>第一次上传会让你记住主机，输入<code>yes</code>继续。</p>
</blockquote>
<p><img src= "" data-lazy-src="26.jpg" alt="上传成功"></p>
<blockquote>
<p>上传成功后返回刚才创建的仓库页面，刷新后，多了很多文件则表示上传成功。<br>接着点击<code>Settings</code>,新页面左侧菜单 选择<code>pages</code></p>
</blockquote>
<p><img src= "" data-lazy-src="38.jpg" alt="仓库页面"><br><img src= "" data-lazy-src="39.jpg" alt="选择 pages"></p>
<blockquote>
<p>一般会默认启用了，上面会出现你的网站地址，可以通过这个网址访问到你的网站了。<br>如没有启动则需要点击下面的<code>Save</code></p>
</blockquote>
<p><img src= "" data-lazy-src="40.jpg" alt="选择 pages"></p>
<div class="note success modern"><p>Github Pages是支持页面自动更新的，后续如果上传了新内容，页面就会自动刷新，无需再设置<br>还可以绑定自定义域名，前提是需要购买一个域名。并解析到Github的服务器上。</p>
</div>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://guguge.top">Guguge</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://guguge.top/blog/hexoblogsetup/">https://guguge.top/blog/hexoblogsetup/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://guguge.top" target="_blank">咕咕鸽</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/hexo/">hexo</a></div><div class="post_share"><div class="social-share" data-image="/blog/hexoblogsetup/cover.jpg" data-sites="wechat,weibo,qq"></div><link rel="stylesheet" href="/pluginsSrc/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="/pluginsSrc/social-share.js/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="/media/wechat.jpg" target="_blank"><img class="post-qr-code-img" src= "" data-lazy-src="/media/wechat.jpg" alt="微信"/></a><div class="post-qr-code-desc">微信</div></li><li class="reward-item"><a href="/media/alipay.jpg" target="_blank"><img class="post-qr-code-img" src= "" data-lazy-src="/media/alipay.jpg" alt="支付宝"/></a><div class="post-qr-code-desc">支付宝</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-full"><a href="/blog/domain/"><img class="prev-cover" src= "" data-lazy-src="/blog/domain/cover.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">Github Pages 绑定自定义域名</div></div></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="/media/avatar.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">Guguge</div><div class="author-info__description">这是一个没什么特别的站点</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">4</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">4</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">1</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/guguliu"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="mailto:guguge-top@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%89%8D%E8%A8%80"><span class="toc-number">1.</span> <span class="toc-text">前言</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%BD%AF%E4%BB%B6%E4%B8%8B%E8%BD%BD"><span class="toc-number">2.</span> <span class="toc-text">软件下载</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%BD%AF%E4%BB%B6%E5%AE%89%E8%A3%85"><span class="toc-number">3.</span> <span class="toc-text">软件安装</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#Git-%E5%AE%89%E8%A3%85"><span class="toc-number">3.1.</span> <span class="toc-text">Git 安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Node-js-%E5%AE%89%E8%A3%85"><span class="toc-number">3.2.</span> <span class="toc-text">Node.js 安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#VSVode-%E5%AE%89%E8%A3%85"><span class="toc-number">3.3.</span> <span class="toc-text">VSVode 安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Hexo-cli-%E5%AE%89%E8%A3%85"><span class="toc-number">3.4.</span> <span class="toc-text">Hexo-cli 安装</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E9%85%8D%E7%BD%AEGit%E7%94%A8%E6%88%B7%E5%92%8Cssh%E5%AF%86%E9%92%A5"><span class="toc-number">4.</span> <span class="toc-text">配置Git用户和ssh密钥</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#GitHub-%E9%85%8D%E7%BD%AEssh%E5%85%AC%E9%92%A5"><span class="toc-number">4.1.</span> <span class="toc-text">GitHub 配置ssh公钥</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Gitee-%E9%85%8D%E7%BD%AEssh%E5%85%AC%E9%92%A5"><span class="toc-number">4.2.</span> <span class="toc-text">Gitee 配置ssh公钥</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E4%B8%8B%E8%BD%BD%E6%BA%90%E7%A0%81"><span class="toc-number">5.</span> <span class="toc-text">下载源码</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD%BD"><span class="toc-number">5.1.</span> <span class="toc-text">直接下载</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B"><span class="toc-number">6.</span> <span class="toc-text">快速开始</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%BD%91%E7%AB%99%E5%86%85%E5%AE%B9%E4%BF%AE%E6%94%B9"><span class="toc-number">6.1.</span> <span class="toc-text">网站内容修改</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%96%B0%E5%BB%BA%E6%96%87%E7%AB%A0%E5%92%8C%E9%A1%B5%E9%9D%A2%E5%86%85%E5%AE%B9"><span class="toc-number">6.2.</span> <span class="toc-text">新建文章和页面内容</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E4%B8%8A%E4%BC%A0%E7%BD%91%E7%AB%99"><span class="toc-number">7.</span> <span class="toc-text">上传网站</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E4%B8%8A%E4%BC%A0%E5%88%B0Gitee"><span class="toc-number">7.1.</span> <span class="toc-text">上传到Gitee</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E4%B8%8A%E4%BC%A0%E5%88%B0Github"><span class="toc-number">7.2.</span> <span class="toc-text">上传到Github</span></a></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/blog/butterfly/" title="Hexo-butterfly主题设置文档"><img src= "" data-lazy-src="/blog/butterfly/cover.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hexo-butterfly主题设置文档"/></a><div class="content"><a class="title" href="/blog/butterfly/" title="Hexo-butterfly主题设置文档">Hexo-butterfly主题设置文档</a><time datetime="2021-09-13T12:05:16.000Z" title="发表于 2021-09-13 20:05:16">2021-09-13</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/markdown/" title="Markdown 基础教程"><img src= "" data-lazy-src="/blog/markdown/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Markdown 基础教程"/></a><div class="content"><a class="title" href="/blog/markdown/" title="Markdown 基础教程">Markdown 基础教程</a><time datetime="2021-09-10T08:32:09.000Z" title="发表于 2021-09-10 16:32:09">2021-09-10</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/domain/" title="Github Pages 绑定自定义域名"><img src= "" data-lazy-src="/blog/domain/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Github Pages 绑定自定义域名"/></a><div class="content"><a class="title" href="/blog/domain/" title="Github Pages 绑定自定义域名">Github Pages 绑定自定义域名</a><time datetime="2020-11-24T15:57:20.000Z" title="发表于 2020-11-24 23:57:20">2020-11-24</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/hexoblogsetup/" title="使用 Hexo 快速免费搭建个人网站"><img src= "" data-lazy-src="/blog/hexoblogsetup/cover.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="使用 Hexo 快速免费搭建个人网站"/></a><div class="content"><a class="title" href="/blog/hexoblogsetup/" title="使用 Hexo 快速免费搭建个人网站">使用 Hexo 快速免费搭建个人网站</a><time datetime="2020-09-10T12:18:30.000Z" title="发表于 2020-09-10 20:18:30">2020-09-10</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2022 By Guguge</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="/pluginsSrc/@fancyapps/ui/dist/fancybox.umd.js"></script><script src="/pluginsSrc/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="/js/search/local-search.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"><script>(() => {
  const $mermaidWrap = document.querySelectorAll('#article-container .mermaid-wrap')
  if ($mermaidWrap.length) {
    window.runMermaid = () => {
      window.loadMermaid = true
      const theme = document.documentElement.getAttribute('data-theme') === 'dark' ? '' : ''

      Array.from($mermaidWrap).forEach((item, index) => {
        const mermaidSrc = item.firstElementChild
        const mermaidThemeConfig = '%%{init:{ \'theme\':\'' + theme + '\'}}%%\n'
        const mermaidID = 'mermaid-' + index
        const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent
        mermaid.mermaidAPI.render(mermaidID, mermaidDefinition, (svgCode) => {
          mermaidSrc.insertAdjacentHTML('afterend', svgCode)
        })
      })
    }

    const loadMermaid = () => {
      window.loadMermaid ? runMermaid() : getScript('/pluginsSrc/mermaid/dist/mermaid.min.js').then(runMermaid)
    }

    window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid)
  }
})()</script></div><div class="aplayer no-destroy" data-id="7675104902" data-server="tencent" data-type="playlist" data-fixed="true" data-mini="true" data-listFolded="false" data-order="random" data-preload="none" data-autoplay="true" muted></div><script defer="defer" id="fluttering_ribbon" mobile="false" src="/pluginsSrc/butterfly-extsrc/dist/canvas-fluttering-ribbon.min.js"></script><script id="click-heart" src="/pluginsSrc/butterfly-extsrc/dist/click-heart.min.js" async="async" mobile="true"></script><link rel="stylesheet" href="/pluginsSrc/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="/pluginsSrc/aplayer/dist/APlayer.min.js"></script><script src="/pluginsSrc/butterfly-extsrc/dist/Meting.min.js"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><script src="/live2d_models/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2d_models/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2d_models/assets/wanko.model.json"},"display":{"position":"left","width":100,"height":150,"hOffset":-10,"vOffset":40},"mobile":{"show":true},"react":{"opacity":0.7},"log":false});</script></body></html>